//
//  UIViewController+JYURL.m
//  YuanShuBiao
//
//  Created by JiYi on 2018/10/9.
//  Copyright © 2018 ari. All rights reserved.
//

#import "UIViewController+JYURL.h"



@implementation UIViewController (JYURL)

static char * JYUrlKey= "JYUrlKey";
static char * JYUrlArrKey= "JYUrlArrKey";

- (void)setUrlStr:(NSString *)urlStr {
    objc_setAssociatedObject(self, JYUrlKey, urlStr, OBJC_ASSOCIATION_COPY_NONATOMIC);
}
- (NSString *)urlStr {
    return objc_getAssociatedObject(self, JYUrlKey);
}

- (void)setUrlStrArr:(NSArray *)urlStrArr {
    objc_setAssociatedObject(self, JYUrlArrKey, urlStrArr, OBJC_ASSOCIATION_COPY_NONATOMIC);
}
- (NSArray *)urlStrArr {
    return objc_getAssociatedObject(self, JYUrlArrKey);
}

@end
